package com.shanjupay.merchant.service.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author xiams
 * @email 15555470513@163.com
 * @date 2021/5/22 22:22
 */

@Data
@ApiModel("商户注册参数")
@Builder
public class MerchantParam implements Serializable {

    @NotEmpty
    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("账号")
    @NotEmpty
    private String accountName;

    @ApiModelProperty("密码")
    @NotEmpty
    private String password;

    /**
     * 账号,密码 会保存在SaaS相关表中,是在另有一SaaS服务中;不在merchant表中,(实现的是分库分表操作)
     */

    @ApiModelProperty("验证码")
    @NotEmpty
    private String smsCode;

    @ApiModelProperty("验证Key")
    @NotEmpty
    private String smsKey;


}
